package com.xxx.mch.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import javax.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author FengHaixin
 * @description 一句话描述该文件的用途
 * @date 2020/9/7
 */
@Setter
@Getter
@ToString (callSuper = true)
@ApiModel ("奖金系数模式DTO对象")
public class PersonalAwardCoefficientDto
{
    @ApiModelProperty ("id，更新的时候有")
    private Integer id;

    @ApiModelProperty ("用户uid")
    @NotNull (message = "用户uid不能为空")
    private String uid;

    @ApiModelProperty ("员工名称")
    private String nickName;

    @ApiModelProperty ("奖金")
    @NotNull (message = "请填写奖金额度")
    private BigDecimal award = BigDecimal.ZERO;

    @ApiModelProperty ("系数")
    private BigDecimal coefficient = BigDecimal.ONE;

}
